The code for generating figures 18, 19 is provided.

The file "RIE.py" performs the experiments, and the proposed RIEs are implemented in this file.
The code takes as input the aspect ratio (less or equal to 1), the SNR, and the parameter 'p' for the Bernoulli-Rademacher distribution on the entries of Y. Matrix X is a shifted Wigner matrix with c=3, and W is a Gaussian matrix. To run it, use the following command:
 "python3 RIE.py -a (alpha) -s (SNR) -p (parameter of the ernoulli-Rademacher distribution)
The outputs are the MSE of the Oracle and Y-RIE, and MSE of RIE+thresholding.

The outputs are processed in the notebook file to generate the plots.